package com.aaa.dao.jl;

import com.aaa.pojo.jl.QusetionSas;
import org.apache.ibatis.annotations.Param;

import java.util.List;
public interface QuestionSasDao {
        List<QusetionSas> findAll1();
        List<QusetionSas> findAll(@Param("page")int page, @Param("limit") int limit);
        int findCount();
        int insert(QusetionSas qusetionSas);
        int update(QusetionSas qusetionSas);
        int deleteById(int id);

        List<QusetionSas> fuzzyQuestion(String question);
        List<QusetionSas> fuzzyCreateBy(String createBy);
        List<QusetionSas> fuzzyQuestionAndCreatBy(@Param("question") String question, @Param("createBy")  String createBy,@Param("page")int page, @Param("limit") int limit);

        int deleteList(@Param("idList") List idList);
         int queryCountLike(@Param("question") String question, @Param("createBy")  String createBy);

        List<QusetionSas> findAllQusertion();
}
